﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Data
{
    /// <summary>
    /// 登录结果
    /// </summary>
    [DataContract]
    public class LoginResult : ServiceResult
    {
        /// <summary>
        /// 用户标识，将用户信息进行加密生成
        /// </summary>
        [DataMember]
        public string UserIdentity { get; set; }
        
        /// <summary>
        /// 位于服务器端内容中的索引值
        /// </summary>
        [DataMember]
        public uint Index { get; set; }

        /// <summary>
        /// 用户账户
        /// </summary>
        [DataMember]
        public string UserAccount { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        [DataMember]
        public string UserName { get; set; }
    }
}
